//
//  TableViewDataSource.h
//  JinMaJiaDemo
//
//  Created by GripMeMory on 15/9/23.
//  Copyright © 2015年 GripMeMory. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^TableViewCellConfigurBlock)(id cell, id item);

@interface TableViewDataSource : NSObject <UITableViewDataSource>

- (id)initWithItems:(NSArray *)anItems cellIdentifier:(NSString *)anCellIdentifier configureBlock:(TableViewCellConfigurBlock)aCellConfigureBlock;

- (id)itemAtIndexPath:(NSIndexPath *)indexpath;

@end
